//package com.amumu.drama.admin.controller;
//
//import com.amumu.drama.common.api.CommonResult;
//import com.amumu.drama.model.CmsPrefrenceArea;
//import com.amumu.drama.admin.service.CmsPrefrenceAreaService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import java.util.List;
//
///**
// * 商品优选管理Controller
// * Created by macro on 2018/6/1.
// */
//@Controller
//@Api(tags = "CmsPrefrenceAreaController")
//@Tag(name = "CmsPrefrenceAreaController", description = "商品优选管理")
//@RequestMapping("/prefrenceArea")
//public class CmsPrefrenceAreaController {
//    @Autowired
//    private CmsPrefrenceAreaService prefrenceAreaService;
//
//    @ApiOperation("获取所有商品优选")
//    @RequestMapping(value = "/listAll", method = RequestMethod.GET)
//    @ResponseBody
//    public CommonResult<List<CmsPrefrenceArea>> listAll() {
//        List<CmsPrefrenceArea> prefrenceAreaList = prefrenceAreaService.listAll();
//        return CommonResult.success(prefrenceAreaList);
//    }
//}
